<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Carbon\Carbon;
class StationTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
	    $data=[
		    [
		    	'id'=>1,
		    	'name'=>'收银员',
			    'standard_hour'=>8,
			    'standard_day'=>22,
			    'hour_salary'=>30,
			    'comment'=>'收银员岗位描述',
			    'status'=>1,
			    'company_id'=>1,
			    'created_at' => Carbon::now(),
			    'updated_at' => Carbon::now()
		    ],
		    [
			    'id'=>2,
			    'name'=>'保安',
			    'standard_hour'=>8,
			    'standard_day'=>22,
			    'hour_salary'=>30,
			    'comment'=>'保安岗位描述',
			    'status'=>1,
			    'company_id'=>1,
			    'created_at' => Carbon::now(),
			    'updated_at' => Carbon::now()
		    ]
	    ];
		DB::table('station')->insert($data);
    }
}
